# -*- coding: utf-8 -*-
from flask import Flask,request,json,url_for,session,g
import os
app = Flask(__name__)

app.config.from_object('app.setting')     #模块下的setting文件名，不用加py后缀 
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy(app)
import pymysql
pymysql.install_as_MySQLdb()
basedir = os.path.abspath(os.path.dirname(__file__))


from app import model
from app.controller import station_api
from app.controller import admin_api
